package com.gzqylc.docker.extend.auth.domain;

import com.gzqylc.lang.Comment;
import com.gzqylc.lang.web.base.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.FieldNameConstants;
import lombok.extern.slf4j.Slf4j;

import javax.persistence.MappedSuperclass;

/**
 * @Desc： 基础的系统实体 用于承载部门数据权限等
 * @ClassName BaseEntity
 * @Author 孔晓文
 * @Date 2022/3/3 上午10:48
 */
@Getter
@Setter
@MappedSuperclass
@FieldNameConstants
@Slf4j
public class BaseSystemEntity extends BaseEntity {

    @Comment("部门id")
    String deptId;

    @Comment("用户id")
    String userId;
}
